package cn.dong.statistics.feign.fallback;

import cn.dong.api.domain.CommonResult;
import cn.dong.statistics.feign.CourseService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class CourseServiceImpl implements CourseService {

    @Override
    public CommonResult getCourseOnlineByDay(String day) {
        log.error("触发熔断");
        return CommonResult.error();
    }
}
